3.49 \(\int (a+c x^2)^4 \, dx\)

Optimal. Leaf size=51 \[ a^4 x+\frac {4}{3} a^3 c x^3+\frac {6}{5} a^2 c^2 x^5+\frac {4}{7} a c^3 x^7+\frac {c^4 x^9}{9} \]

[Out]

a^4*x+4/3*a^3*c*x^3+6/5*a^2*c^2*x^5+4/7*a*c^3*x^7+1/9*c^4*x^9

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {194} \[ \frac {6}{5} a^2 c^2 x^5+\frac {4}{3} a^3 c x^3+a^4 x+\frac {4}{7} a c^3 x^7+\frac {c^4 x^9}{9} \]

Antiderivative was successfully verified.

[In]

Int[(a + c*x^2)^4,x]

[Out]

a^4*x + (4*a^3*c*x^3)/3 + (6*a^2*c^2*x^5)/5 + (4*a*c^3*x^7)/7 + (c^4*x^9)/9

Rule 194

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \left (a+c x^2\right )^4 \, dx &=\int \left (a^4+4 a^3 c x^2+6 a^2 c^2 x^4+4 a c^3 x^6+c^4 x^8\right ) \, dx\\ &=a^4 x+\frac {4}{3} a^3 c x^3+\frac {6}{5} a^2 c^2 x^5+\frac {4}{7} a c^3 x^7+\frac {c^4 x^9}{9}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 51, normalized size = 1.00 \[ a^4 x+\frac {4}{3} a^3 c x^3+\frac {6}{5} a^2 c^2 x^5+\frac {4}{7} a c^3 x^7+\frac {c^4 x^9}{9} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + c*x^2)^4,x]

[Out]

a^4*x + (4*a^3*c*x^3)/3 + (6*a^2*c^2*x^5)/5 + (4*a*c^3*x^7)/7 + (c^4*x^9)/9

________________________________________________________________________________________

fricas [A]  time = 0.73, size = 43, normalized size = 0.84 \[ \frac {1}{9} x^{9} c^{4} + \frac {4}{7} x^{7} c^{3} a + \frac {6}{5} x^{5} c^{2} a^{2} + \frac {4}{3} x^{3} c a^{3} + x a^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)^4,x, algorithm="fricas")

[Out]

1/9*x^9*c^4 + 4/7*x^7*c^3*a + 6/5*x^5*c^2*a^2 + 4/3*x^3*c*a^3 + x*a^4

________________________________________________________________________________________

giac [A]  time = 0.39, size = 43, normalized size = 0.84 \[ \frac {1}{9} \, c^{4} x^{9} + \frac {4}{7} \, a c^{3} x^{7} + \frac {6}{5} \, a^{2} c^{2} x^{5} + \frac {4}{3} \, a^{3} c x^{3} + a^{4} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)^4,x, algorithm="giac")

[Out]

1/9*c^4*x^9 + 4/7*a*c^3*x^7 + 6/5*a^2*c^2*x^5 + 4/3*a^3*c*x^3 + a^4*x

________________________________________________________________________________________

maple [A]  time = 0.04, size = 44, normalized size = 0.86 \[ \frac {1}{9} c^{4} x^{9}+\frac {4}{7} a \,c^{3} x^{7}+\frac {6}{5} a^{2} c^{2} x^{5}+\frac {4}{3} a^{3} c \,x^{3}+a^{4} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+a)^4,x)

[Out]

a^4*x+4/3*a^3*c*x^3+6/5*a^2*c^2*x^5+4/7*a*c^3*x^7+1/9*c^4*x^9

________________________________________________________________________________________

maxima [A]  time = 1.31, size = 43, normalized size = 0.84 \[ \frac {1}{9} \, c^{4} x^{9} + \frac {4}{7} \, a c^{3} x^{7} + \frac {6}{5} \, a^{2} c^{2} x^{5} + \frac {4}{3} \, a^{3} c x^{3} + a^{4} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)^4,x, algorithm="maxima")

[Out]

1/9*c^4*x^9 + 4/7*a*c^3*x^7 + 6/5*a^2*c^2*x^5 + 4/3*a^3*c*x^3 + a^4*x

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 43, normalized size = 0.84 \[ a^4\,x+\frac {4\,a^3\,c\,x^3}{3}+\frac {6\,a^2\,c^2\,x^5}{5}+\frac {4\,a\,c^3\,x^7}{7}+\frac {c^4\,x^9}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^2)^4,x)

[Out]

a^4*x + (c^4*x^9)/9 + (4*a^3*c*x^3)/3 + (4*a*c^3*x^7)/7 + (6*a^2*c^2*x^5)/5

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 49, normalized size = 0.96 \[ a^{4} x + \frac {4 a^{3} c x^{3}}{3} + \frac {6 a^{2} c^{2} x^{5}}{5} + \frac {4 a c^{3} x^{7}}{7} + \frac {c^{4} x^{9}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+a)**4,x)

[Out]

a**4*x + 4*a**3*c*x**3/3 + 6*a**2*c**2*x**5/5 + 4*a*c**3*x**7/7 + c**4*x**9/9

________________________________________________________________________________________